package com.road.vast.pojo.company;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 郭泽鹏
 * @since 2020-07-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CoDepartment对象", description="")
public class CoDepartment implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "企业ID")
    private String companyId;

    @ApiModelProperty(value = "父级部门ID")
    private String parentId;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "部门编码")
    private String code;

    @ApiModelProperty(value = "部门类别")
    private String category;

    @ApiModelProperty(value = "负责人ID")
    private String managerId;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "介绍")
    private String introduce;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "部门负责人")
    private String manager;


}
